using UnityEngine;

/// <summary>
/// 火爆辣椒技能数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/SkillData/Plants/JalapenoSkillData")]
public class JalapenoSkillData : SkillData
{
    [Header("爆炸属性")]
    [Tooltip("爆炸伤害值")]
    public long ExplosionDamage = 1800;
    
    [Tooltip("攻击范围（整行）")]
    public bool AttackFullRow = true;
    
    [Tooltip("是否一次性使用")]
    public bool IsOneTimeUse = true;
    
    [Tooltip("触发延迟时间（秒）")]
    public float TriggerDelay = 0.5f;
    
    [Tooltip("火焰伤害持续时间（秒）")]
    public float FireDuration = 2.0f;
    
    [Tooltip("持续火焰伤害值（每秒）")]
    public int FireDamagePerSecond = 50;

    private void OnEnable()
    {
        // 火爆辣椒不需要查找攻击目标
        RequiresTarget = false;
    }
}

